﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>代码生成系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
	<link rel="shortcut icon" href="images/favicon.ico">
	<link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.css">
	<link rel="stylesheet" href="plugins/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="hadmin/css/animate.css">
	<link rel="stylesheet" href="hadmin/css/style.css?v=4.1.0">
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
	<div id="wrapper">
		<!--左侧导航开始-->
		<nav class="navbar-default navbar-static-side" role="navigation">
			<div class="nav-close">
				<i class="fa fa-times-circle"></i>
			</div>
			<div class="sidebar-collapse">
				<ul class="nav" id="side-menu">
					<li class="nav-header">
						<div class="dropdown profile-element">
							<a data-toggle="dropdown" class="dropdown-toggle" href="#">
								<span class="clear">
								  <span class="block m-t-xs" style="font-size:20px;">
									<strong class="font-bold">后台管理</strong>
								  </span>
								</span>
							</a>
						</div>
						<div class="logo-element">后台</div>
					</li>
					<li>
						<a class="J_menuItem" href="/main">
							<i class="fa fa-home"></i>
							<span class="nav-label">系统首页</span>
						</a>
					</li>
					<li>
						<a class="J_menuItem" href="/generator">
							<i class="fa fa-cutlery"></i>
							<span class="nav-label">代码生成</span>
						</a>
					</li>
				</ul>
			</div>
		</nav>
		<!--左侧导航结束-->
		<!--右侧部分开始-->
		<div id="page-wrapper" class="gray-bg">
			<div class="row border-bottom">
				<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
					<div class="navbar-header">
						<a class="navbar-minimalize minimalize-styl-2 btn btn-info" href="#">
							<i class="fa fa-bars"></i>
						</a>
					</div>
					<ul class="nav navbar-top-links navbar-right">
						<li>
							<a href="/login/logout" class="dropdown-toggle" title="退出">
								<i class="fa fa-sign-out"></i>
							</a>
						</li>
					</ul>
				</nav>
			</div>
			<div class="row J_mainContent" id="content-main">
				<iframe id="J_iframe" width="100%" height="100%" src="/main" frameborder="0" seamless></iframe>
			</div>
		</div>
		<!--右侧部分结束-->
	</div>

	<script src="plugins/jQuery/jQuery-2.1.4.min.js"></script>
	<script src="plugins/bootstrap/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="plugins/layer/layer.min.js"></script>
	<script src="plugins/pace/pace.min.js"></script>
	<script src="hadmin/js/hAdmin.js?v=4.1.0"></script>
	<script>
		$(function(){
			//菜单点击
			$(".J_menuItem").on('click',function(){
				var url = $(this).attr('href');
				$("#J_iframe").attr('src',url);
				return false;
			});
		});
	</script>
</body>
</html>